package com.hulu73.shiro.dao;

import org.apache.ibatis.annotations.Param;

import com.hulu73.shiro.annotation.MyBatisDao;
import com.hulu73.shiro.dao.base.CrudDao;
import com.hulu73.shiro.entity.UserEntity;

@MyBatisDao
public interface UserDao extends CrudDao<UserEntity> {

	
	/**
	 * 根据登录名称查询用户
	 * @param name
	 * @return
	 */
	public UserEntity getByLoginName(@Param("username")	String username);
	
}
